import PySimpleGUI as sg

sg.popup('popup')  # Shows OK button
sg.popup_ok('popup_ok')  # Shows OK button
sg.popup_yes_no('popup_yes_no')  # Shows Yes and No buttons
sg.popup_cancel('popup_cancel')  # Shows Cancelled button
sg.popup_ok_cancel('popup_ok_cancel')  # Shows OK and Cancel buttons
sg.popup_error('popup_error')  # Shows red error button
sg.popup_timed('popup_timed')  # Automatically closes
sg.popup_auto_close('popup_auto_close')  # Same as
# sg.Window('Continue？',[[sg.T('你想继续吗？')], [sg.sh(s=10),sg.是(s=10)]],disable_close=True).read(close=True)
# sg.popup("popup",background_color=)
choice, _ = sg.Window('Continue?', [[sg.T('Do you want to continue?')], [sg.Yes(s=10), sg.No(s=10)]], disable_close=True).read(close=True)
# a = sg.popup_scrolled("hello",str = "str1",text_color=red)
# print(a)

# popup(args=*<1 or N object>,
#     title = None,
#     button_color = None,
#     background_color = None,
#     text_color = None,
#     button_type = 0,
#     auto_close = False,
#     auto_close_duration = None,
#     custom_text = (None, None),
#     non_blocking = False,
#     icon = None,
#     line_width = None,
#     font = None,
#     no_titlebar = False,
#     grab_anywhere = False,
#     keep_on_top = None,
#     location = (None, None),
#     relative_location = (None, None),
#     any_key_closes = False,
#     image = None,
#     modal = True)